package io.github.enbool.exception;


public class RecordNotFoundException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	public RecordNotFoundException(String message) {		
		super(message);
	}
	
	public RecordNotFoundException(String object, Long id) {		
		super(String.format("%s[id:%d]不存在", object, id));
	}

}
